package com.deyang.mycommon.entity;

/**
 * @author 王德阳
 * @data 创建时间: 2018/5/4 0004
 * @Description 返回基类
 */
public class BaseResponse<T> {

    private Integer status;
    //    private String message;
    private String msg;

    private T result;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "BaseResponse{" +
                "status=" + status +
                ", msg='" + msg + '\'' +
                ", result=" + result +
                '}';
    }
}
